package com.example.firstdemo.service;

import com.example.firstdemo.dao.Student;
import com.example.firstdemo.dto.StudentDTO;

public interface StudentService {
    public StudentDTO getStudentById(long id);

    Long addNewStudent(StudentDTO studentDTO);

    void deleteStudentById(long id);
    
    StudentDTO updateStudentById(long Id, String name,String email);

}
